import request from '@/utils/request'

// 查询订单通知列表
export function listBackendOrderNotify(query) {
  return request({
    url: '/backendOrderNotify/backendOrderNotify/list',
    method: 'get',
    params: query
  })
}

// 查询订单通知详细
export function getBackendOrderNotify(id) {
  return request({
    url: '/backendOrderNotify/backendOrderNotify/' + id,
    method: 'get'
  })
}

// 新增订单通知
export function addBackendOrderNotify(data) {
  return request({
    url: '/backendOrderNotify/backendOrderNotify',
    method: 'post',
    data: data
  })
}

// 修改订单通知
export function updateBackendOrderNotify(data) {
  return request({
    url: '/backendOrderNotify/backendOrderNotify',
    method: 'put',
    data: data
  })
}

// 删除订单通知
export function delBackendOrderNotify(id) {
  return request({
    url: '/backendOrderNotify/backendOrderNotify/' + id,
    method: 'delete'
  })
}
